#define LEDR 9
#define LEDG 10
#define LEDB 11
int i = 0;

void setup()
{
  pinMode(LEDG,OUTPUT);
  pinMode(LEDB,OUTPUT);
  pinMode(LEDR,OUTPUT);
}

void loop()
{
  analogWrite(LEDR,0);
  analogWrite(LEDB,0);
  analogWrite(LEDG,0);  //off
  analogWrite(LEDR,255);
  delay(500);    //hong
  analogWrite(LEDG,100);
  delay(500);   //cheng
  analogWrite(LEDR,255);
  analogWrite(LEDG,255);
  delay(500);   //huang
  analogWrite(LEDR,0);
  analogWrite(LEDG,255);
  delay(500);   //lv  
  analogWrite(LEDB,255);
  delay(500);   //qing
  analogWrite(LEDG,0);
  analogWrite(LEDB,255);
  delay(500);   //lan
  analogWrite(LEDR,255);
  analogWrite(LEDG,0);
  delay(500);   //zi 
 
 
  analogWrite(LEDG,255);
  analogWrite(LEDB,255);
  analogWrite(LEDR,255);
   delay(500);   //bai   
  
  
 
}
